<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/6/18
 * Time: 22:59
 */
namespace App\Lib\Sdk\Robot\Service;
use App\Models\Robots;

interface Robot {

    public function sendMessage(array $toIds, string $content,Robots $robot);
    public function sendImgMessage(array $toIds, string $imageBase64,Robots $robot);

    public function send(Robots $robot, string $content, array $data);

    public function loginQr($userId);
    public function heartBeat($robotId);


    public function getErrorMessage();
}